<?php
require './curl.php';
$id = $_REQUEST["id"];
// https://www.acfun.cn/bangumi/aa6002598?quickViewId=pagelet_partlist&reqID=6&ajaxpipe=1&t=1598095825709
$str = curl_get_contents("https://www.acfun.cn/bangumi/{$id}?quickViewId=pagelet_partlist&reqID=6&ajaxpipe=1&t=1598095825709");//将整个文件内容读入到一个字符串中
$d = strstr($str, "<ul class='scroll-div");
$s = strstr($d, "</div></div>", true);
echo $s;
?>